Page({
  data: {
    logs: []
  },
  onLoad() {

  },
    /**
  * 生命周期函数--监听页面显示
  */
    onShow: function () {
      if (typeof this.getTabBar === 'function' &&
        this.getTabBar()) {
        this.getTabBar().setData({
          selected: 2
        })
      }
    },
  //客户
  customerBtn() {
      wx.navigateTo({
        url: '../employeeList/employeeList'
      })
  },
  addressBtn() {
    wx.navigateTo({
      url: '../address/address'
    })
  }
})
